package com.lly;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

public class ClassLoaderDemo {
    public static void main(String[] args) {

        ClassLoader c = ClassLoader.getSystemClassLoader();//返回用于系统委派的类加载器
        System.out.println(c);
        ClassLoader c2 = c.getParent();//返回父类加载器进行委派
        System.out.println(c2);
        ClassLoader c3 = c2.getParent();
        System.out.println(c3);
    }
}
